projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c5ad63
)
Ulrich Mueller <ulm at gentoo.org> (tiny change)
author
Glenn Morris
<rgm@gnu.org>
Wed, 30 May 2007 04:57:13 +0000
(
04:57
+0000)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 30 May 2007 04:57:13 +0000
(
04:57
+0000)
(XMakeAssoc): Use malloc rather than xmalloc.
oldXMenu/XMakeAssoc.c
patch
|
blob
|
history
diff --git
a/oldXMenu/XMakeAssoc.c
b/oldXMenu/XMakeAssoc.c
index d443084ac13089d1dc5f0fe1e23c46b73ab6346f..cf039c8f3c1f3f206be3e3ea2223219e4239d778 100644
(file)
--- a/
oldXMenu/XMakeAssoc.c
+++ b/
oldXMenu/XMakeAssoc.c
@@
-81,7
+81,7
@@
XMakeAssoc(dpy, table, x_id, data)
/* If we are here then the new entry should be inserted just */
/* before the current value of "Entry". */
/* Create a new XAssoc and load it with new provided data. */
- new_entry = (XAssoc *)
x
malloc(sizeof(XAssoc));
+ new_entry = (XAssoc *) malloc(sizeof(XAssoc));
new_entry->display = dpy;
new_entry->x_id = x_id;
new_entry->data = data;